package top.yueyazhui.order.service;

import io.seata.rm.tcc.api.BusinessActionContext;

public interface OrderService {

    boolean prepare(BusinessActionContext businessActionContext, String userId, String commodityCode, Integer count, Double money);

    boolean commit(BusinessActionContext businessActionContext);

    boolean rollback(BusinessActionContext businessActionContext);
}
